package com.danco.training.zaneuskaya.storage;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.danco.training.zaneuskaya.domain.Claim;



public class ClaimStorage implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3555854050058150305L;
	private List<Claim> claims;
	private static ClaimStorage claimStorageInstance;

	private ClaimStorage() {

		this.claims = new ArrayList<Claim>();
	}

	public List<Claim> getClaims() {
		return claims;
	}

	public void setClaims(List<Claim> claims) {
		this.claims = claims;
	}

	public static ClaimStorage getClaimStorageInstance() {
		if (claimStorageInstance == null) {
			claimStorageInstance = new ClaimStorage();
		}
		return claimStorageInstance;
	}

}
